#include "trader.h"

Trader::Trader()
{
    NeedMoney=0;
    Thing=16;
    Information="0";

}
Trader::Trader(int floor)
{
    if(floor==0){
    NeedMoney=0;
    Thing=15;
    Information="Braver,please defeat the Demon.I wanna give you a blue key to help you";
    }
    else if(floor==1){
    NeedMoney=20;
    Thing=16;
    Information="Braver,20 Coins for a yellow key.";
    }
    else if(floor==2){
    NeedMoney=50;
    Thing=3;
    Information="Braver,I found a piece of attack gem. Selling for 50 Coins. It will increase your attack for 10 percent.";
    }

}
